-
Home
-
WooCommerce Visma Integration
-
2.1.1
-
Code
-
Classes
- WTV_Orders
Total Complexity |
77 |
Dependencies |
9 |
Dependents |
4 |
Total lines |
523 |
Lines of code |
317 |
Logical lines of code |
162 |
Comment lines |
139 |
Methods |
21 |
Properties |
0 |
Methods 21
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
sync() |
A |
37 |
14 |
69 |
create_order_row() |
A |
44 |
9 |
43 |
set_way_of_delivery() |
A |
49 |
10 |
28 |
validate_order_items() |
S |
57 |
6 |
16 |
create_shipping_article() |
S |
49 |
3 |
29 |
has_eu_vat_number() |
S |
61 |
4 |
12 |
get_shipping() |
S |
52 |
3 |
23 |
handle_fees() |
S |
63 |
4 |
10 |
item_is_variation() |
S |
70 |
3 |
6 |
send_order_to_visma() |
S |
61 |
2 |
12 |
set_order_as_synced() |
S |
71 |
2 |
5 |
is_synced() |
S |
70 |
2 |
6 |
order_exists() |
S |
64 |
2 |
10 |
calculate_item_discount() |
S |
68 |
2 |
7 |
format_status() |
S |
67 |
2 |
8 |
get_product_name() |
S |
65 |
2 |
8 |
get_order() |
S |
67 |
2 |
7 |
get_vat_percentage() |
S |
70 |
2 |
6 |
set_visma_order_id() |
S |
76 |
1 |
4 |
get_visma_order_id() |
S |
80 |
1 |
3 |
convert_order_to_invoice() |
S |
71 |
1 |
5 |